package com.woyowodaows.request;
/*
*
*
*  接口地址
*
* **/

public class InterfaceUrl {

    //测试环境接口

    public static String BASE_URL = "http://api.ws.okkits.com/";


    //上传视频接口
    public  static final String   UPLOAD   =BASE_URL +"app/file/uploadFile";

    //图片地址
    public static String IMAGE_URL = BASE_URL+"api/file/upload";


    public static final String H5_BASE_URL = "http://192.168.1.128:8082/";


    public static final String LOGIN_URL=BASE_URL+"api/login";

    public static final String APP_ID="41beed5fd5344ccf8eadf8e4fbdccf13";

    public static final String WSFLAG="ws.okkits.com";

    public static final String SECRET="ad98432d2ac94c58abe17a82f85032d7";
    //发送注册验证码
    public  static final  String REGISTERCODE =BASE_URL+"api/user/sendRegisterCode";

    //注册用户
    public  static final  String REGISTE =BASE_URL+"api/user/register";

    //    ### 4.修改密码
//    {{url}}/api/user/updatePassword?
    public  static final  String UPDATEPASSWORD=BASE_URL+"api/user/updatePassword";

    //    ### 5.发送忘记密码验证码
//    {{url}}/api/user/sendForgetPasswordCode
    public  static final  String SENDFORGETPASSWORDCODE=BASE_URL+"api/user/sendForgetPasswordCode";

    //### 6.重置密码
//    {{url}}/api/user/resetPassword?
    public  static final  String RESETPASSORD=BASE_URL+"api/user/resetPassword";


    //  # banner图
//
//    {{url}}/api/banner/list?
    public  static final  String BANNDER=BASE_URL+"api/banner/list";


    //# 查询近期公告
//    {{url}}/api/message/queryNearNotice?
    public  static final  String QUERYNEARNOTICE=BASE_URL+"api/message/queryNearNotice";


    // /api/message/detail  id=17  公告详情
    public  static final  String MESSAGEDETAIL=BASE_URL+"api/message/detail";



    //### 1.查询地区树
//    {{url}}/api/distribution_area?appId=41beed5fd5344ccf8eadf8e4fbdccf13&sign=b8a7546d635c296d144dd9b384d5f530&t=1553658617677&wsflag=ws.okkits.com
    public  static final  String DISTRIBUTIONAREA=BASE_URL+"api/distribution_area";

    //
//    ### 2.创建报修
//    http://localhost:8088/api/repair/save?appId=41beed5fd5344ccf8eadf8e4fbdccf13&sign=c8d58f08596751bc2a0b7a16646f7216&t=1553498769458&
    public  static final  String REPAIRSAVE=BASE_URL+"api/repair/save";


    //     ### 7.查询用户信息
//    {{url}}/api/user/queryUserInfo
    public  static final  String USESERINFO=BASE_URL+"api/user/queryUserInfo";

    //    ### 8.修改用户信息
//    {{url}}/api/user/updateUserInfo?
    public  static final  String UPDATEUSERINFO=BASE_URL+"api/user/updateUserInfo";

    //### 1.获取最新的版本信息
//    {{url}}/api/upgrade/queryNewVersion
    public  static final  String QUERYNEWVERSION=BASE_URL+"api/upgrade/queryNewVersion";

    //    ### 3.查询近期订单
//    {{url}}/api/repair/queryNearRepair?
    public  static final  String NEARREPAIR=BASE_URL+"api/repair/queryNearRepair";

    //    ### 7.订单详细
//    http://localhost:8088/api/repair/detail?
//    orderSn:C3B4E9CE32AD4D4C836D0C9F7125A089
    public  static final  String REPAIRDETAIL=BASE_URL+"api/repair/detail";

    //
//### 4.接单
//    http://localhost:8088/api/repair/receive?
    public  static final  String REPAIRRECEIVE=BASE_URL+"api/repair/receive";

    //    ### 5.已维修
//    http://localhost:8088/api/repair/repaired?
    public  static final  String REPAIRED=BASE_URL+"api/repair/repaired";

    //api/message  公告
    public  static final  String MESSAGE=BASE_URL+"api/message";

    //退登录
    public  static final  String LOGOUT=BASE_URL+"api/logout";

//    http://localhost:8088/api/repair/comment  评价

    public  static final  String REPAIRCOMMENT=BASE_URL+"api/repair/comment";

    //全部地址列表
    public  static final  String QUERYUSERADDRESS=BASE_URL+"api/user/queryUserAddress";

    //保存地址列表
    public  static final  String SAVEADDRESS=BASE_URL+"api/user/saveAddress";

    //删除地址 api/user/deleteUserAddress
    public  static final  String DELETEUSERADDRESS=BASE_URL+"api/user/deleteAddress";

    //更新地址接口  api/user/updateAddress?
    public  static final  String UPDATEADDRESS=BASE_URL+"api/user/updateAddress";

}
